package com.gadarts.parashoot.enemies;

import android.graphics.Bitmap;

import com.gadarts.parashoot.GameModel;
import com.gadarts.parashoot.GameView;
import com.gadarts.parashoot.Sprite;
import com.gadarts.parashoot.utils.C;

public class Scout extends AirCraftEnemy {

	public Scout(GameModel model, GameView view, Sprite sprite, int x, int y,
			int speed, int direction, int depth, int health,
			boolean fitFrameToDirection, Bitmap imagePart) {
		super(model, view, sprite, x, y, speed, direction, depth, health,
				fitFrameToDirection, imagePart);
	}

	@Override
	protected void crush() {
		super.crush();
		currentFrame = C.Enemies.AirCrafts.Scout.CRUSH_FRAME_INDEX;
	}

	@Override
	protected void checkHealth() {
		super.checkHealth();
		checkIfTooDamaged(C.Enemies.AirCrafts.Scout.EXPLOSION_DAMAGE_AMOUNT);
	}

}
